Optimal. Leaf size=158 \[ \frac{e (e \cos (c+d x))^{p-1} (a+b \sin (c+d x))^{m+1} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}} F_1\left (m+1;\frac{1-p}{2},\frac{1-p}{2};m+2;\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right )}{b d (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0985978, antiderivative size = 158, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2704, 138} \[ \frac{e (e \cos (c+d x))^{p-1} (a+b \sin (c+d x))^{m+1} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}} F_1\left (m+1;\frac{1-p}{2},\frac{1-p}{2};m+2;\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right )}{b d (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2704
Rule 138
Rubi steps
\begin{align*} \int (e \cos (c+d x))^p (a+b \sin (c+d x))^m \, dx &=\frac{\left (e (e \cos (c+d x))^{-1+p} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}}\right ) \operatorname{Subst}\left (\int (a+b x)^m \left (-\frac{b}{a-b}-\frac{b x}{a-b}\right )^{\frac{1}{2} (-1+p)} \left (\frac{b}{a+b}-\frac{b x}{a+b}\right )^{\frac{1}{2} (-1+p)} \, dx,x,\sin (c+d x)\right )}{d}\\ &=\frac{e F_1\left (1+m;\frac{1-p}{2},\frac{1-p}{2};2+m;\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right ) (e \cos (c+d x))^{-1+p} (a+b \sin (c+d x))^{1+m} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}}}{b d (1+m)}\\ \end{align*}
Mathematica [F] time = 2.36251, size = 0, normalized size = 0. \[ \int (e \cos (c+d x))^p (a+b \sin (c+d x))^m \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.863, size = 0, normalized size = 0. \begin{align*} \int \left ( e\cos \left ( dx+c \right ) \right ) ^{p} \left ( a+b\sin \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{p}{\left (b \sin \left (d x + c\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\left (e \cos \left (d x + c\right )\right )^{p}{\left (b \sin \left (d x + c\right ) + a\right )}^{m}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos{\left (c + d x \right )}\right )^{p} \left (a + b \sin{\left (c + d x \right )}\right )^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (e \cos \left (d x + c\right )\right )^{p}{\left (b \sin \left (d x + c\right ) + a\right )}^{m}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]